<template>
  <div class="viewMain">
    <h2>{{ query.title }}</h2>
  </div>
</template>
<script>
export default {
  name: 'PortalGuide',
  data() {
    return {
      query: this.$route.query,
      id: this.$route.params.id,
    }
  },
  methods: {},
}
</script>

<style scoped lang="scss">
.viewMain {
  overflow: hidden;
  padding: 0 20px;
  h2 {
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 60px;
    border-bottom: 1px solid #dcdfe6;
    padding-left: 10px;
  }
  .message {
    overflow: hidden;
  }
  .title {
    font-size: 16px;
  }
  p {
    color: #666;
    font-size: 14px;
    margin: 0;
  }
  .red {
    color: rgb(249, 38, 114);
  }
  .orange {
    color: #e29629;
  }
  .black {
    color: #000;
  }
  .item {
    margin-top: 20px;
  }
  .codeTemplate {
    background: #f7f7f7;
    font-size: 14px;
    color: #333;
    padding: 20px;
    margin-top: 20px;
  }
  .jsonTemplate {
    margin: 10px 0;
    overflow: hidden;
  }
  .code {
    margin: 0;
  }
}
</style>
